package com.openlab.callsystem.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openlab.callsystem.entity.Business;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.sql.ResultSet;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cyq
 * @since 2021-11-14
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    @Select("select * from business")
    public List<Business> query();
    public void insertBusiness(Business business);
    public void update(Business business);
    public void delete(Integer id);
}
